package twu.shubham.library;


public class MovieRecord {
     String movieName;
     int year;
    String director;
    int rating;
    public MovieRecord(String movieName, int year, String director, int rating)
    {
        this.movieName = movieName;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    public String movieDetails() {
        return ("\t\t" +movieName +"\t" +year +"\t" +director +"\t\t" +rating +"\n");
    }
}
